package com.hqyj.hrms.modules.personnel.service;

import com.hqyj.hrms.modules.personnel.entity.Employee;
import com.hqyj.hrms.modules.personnel.entity.SexCount;
import com.hqyj.hrms.modules.personnel.entity.Transfer;
import org.apache.ibatis.annotations.Update;


import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Autor zyj
 * @Date 2021/9/27
 **/
public interface EmployeeService {
    //查询
    HashMap<String,Object> list(Employee employee);

    //新增
    HashMap<String,Object> add(Employee employee);

    //修改
    HashMap<String,Object> update(Employee employee);

    //删除
    HashMap<String,Object> del(Integer id);

    //查询
    HashMap<String,Object> query(String str1,String str2);

//    //
//   List<SexCount> sexC();

    //统计性别
    List<Map> getSex();

    //统计学历
    List<Map> getEdu();

    //统计年龄
    List<Map> getAge();

}
